# Version 0.0.1
FROM ubuntu:14.04
MAINTAINER Alex Xu
ENV REFRESHED_AT 2017_08_16
RUN sed -i "7a alias l=ll -h" /root/.bashrc
RUN sed -i "8a alias ..=cd .." /root/.bashrc
RUN sed -i "9a alias ...=cd ../../" /root/.bashrc
RUN apt-get update
RUN apt-get -y -q install wget vim less nginx
#RUN wget http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
#RUN rpm -Uvh nginx-release-centos-7-0.el7.ngx.noarch.rpm
#RUN yum -y install nginx
RUN mkdir -p /var/www/html/website
ADD nginx/global.conf /etc/nginx/conf.d/
ADD nginx/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80